'''
Created on 18/03/2009

@author: eh01
'''

class Event(object):
    '''
    Event
    '''

    def __init__(self, type, data):
        '''
        Constructor
        '''
        self._type = type
        self._data = data

    def get_type(self):
        return self._type


    def get_data(self):
        return self._data


    def set_type(self, value):
        self._type = value


    def set_data(self, value):
        self._data = value


    type = property(get_type, set_type, None, None)

    data = property(get_data, set_data, None, None)
        